Overview of Messages | Command Syntax
Parameters | Default settings

Overview of Messages

The information that is exchanged between the controller (computer) and the device (KFM2151) is called a message.

The KFM 2151 uses the SCPI language for the messages.

There are two types of messages, commands that are sent from the computer to the KFM 2151 and responses that are sent from the KFM2151 to the computer.

Command hierarchy

SCPI commands are ASCII-based commands designed for test and measurement devices. The command hierarchy is structured around the common root or node, which is the construction block of the SCPI sub system.

A command consists of a program header, parameters, and punctuations.

The hierarchy is explained using the SOURce subsystem as an example.

 

Program header Parameter Hierarchy of node
CHAN   Roote node
  :VOLT Second level
  [:DC] Third level
  :TERM <NR1>,<NR1>,<NR1>,<boolean> Fourth level
:NSEL <NR1> Fourth level
:ROUT Second level
  :TERM <NR1>,<NR1>,<NR1>,<boolean> Third level
 :NSEL <NR1> Third level

 

A higher node is separated from a lower node using a colon (:).